package edu.bit.water.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author Administrator
 *
 */
public class LabelEvaCmpWaterTAndASum {

	private int id;						//序号
	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	private Date createdAt;				//创建时间
	private String companyName;			//企业名称
	private String companyClass;		//企业类型
	private String testPerson;			//测试人员
	private String evaPerson;			//评估人员
	private String testUnit;			//测试单元
	private double useWaterSuml;		//生产用水量总计
	private double newWaterSuml;		//生产新水量总计
	private double repeatWaterSuml;		//生产重复水量总计
	private double drainWaterSuml;		//生产排水量总计
	private double consumpWaterSuml;	//生产耗水量总计
	private double lossWaterSuml;		//生产漏失水量总计
	private double useWaterSumn;		//非生产用水量总计
	private double newWaterSumn;		//非生产新水量总计
	private double water1Sum;			//与1相关的常规水资源总量
	private double productOutput;		//产品产量
	private double unitProductWaterWithdrawal;	//单位产品取水量
	private String dirCooWaterCircuRate;		//直接冷却水循环率
	private double dirCooWaterCircu;			//直接冷却水循环量
	private double dirCooWaterConsump;			//直接冷却用水量
	private String steamCondensateReuseRate;	//蒸汽冷凝水回用率
	private double steamCondensateReturn;		//蒸汽冷凝水回用量
	private double steamProduction;				//产汽设备产汽量
	private double steamVolumeMass;				//蒸汽体积质量
	private String lossRate;					//漏失率
	private String wasteWaterDischargeRate;		//废水达标排放率
	private double wasteWaterDischarge;			//废水达标排量
	private double totalWasteWaterDischarge;	//废水排放总量
	private String repeatUtilizationRate;		//重复利用率
	private String indirCooWaterCircuRate;		//间接冷却水循环率
	private double indirCooWaterCircu;			//间接冷却水循环量
	private double indirCooNewWater;			//间接冷却水新水量
	private String drainageRate;				//排水率
	private double externalDisplacement;        //企业外排水量
	private String wasteWaterReuseRate;		    //废水回用率
	private double wasteWaterReuse;				//废水回用量
	private double wasteWaterProduced;			//产生的废水总量
	private String unconWaterReplaceRate;		//非常规水资源替代率
	private double unconWaterUse;				//非常规水资源利用量
	private double getWater;					//取水量总计
	private double useWater;					//总用水量计算
	private String sum1_data;					//公式1josn
	private String sum2_data;					//公式2josn
	private String sum3_data;					//公式3josn
	private String sum4_data;					//公式4josn
	private String sum5_data;					//公式5josn
	private String sum6_data;					//公式6josn
	private String sum7_data;					//公式7josn
	private String sum8_data;					//公式8josn
	private String sum9_data;					//公式9josn
	private String sum10_data;					//公式9josn

//	/**
//	 * 计算取水量，即常规水资源量汇总，这里假定为所有水资源量的总和
//	 */
//	public void calWater1Sum() {
//		//首先加上生产用水总量
//		this.water1Sum = 0;
//		this.water1Sum = useWaterSuml + newWaterSuml + repeatWaterSuml + drainWaterSuml + consumpWaterSuml + lossWaterSuml;
//		//加上非生产用水总量
//		this.water1Sum = this.water1Sum + useWaterSumn + newWaterSumn;
//		System.out.println("water1Sum: " + this.water1Sum);
//	}
//
//	/**
//	 * 计算各种计算所需要的数据值
//	 */
//
//	private static void print(String args) {
//		System.out.println(args);
//	}
//	public void calculateValue() {
//		this.productOutput = 1;//假设产品量为1，不知道产品量从何而来
//		this.dirCooWaterCircu = repeatWaterSuml;//假设冷却水循环量为重复用水量
//		this.dirCooWaterConsump = newWaterSuml + newWaterSumn;//冷却水补水量为所有新水量
//		this.steamCondensateReturn = repeatWaterSuml;//蒸汽冷凝水回用量设置为重复水量
//		this.steamProduction = repeatWaterSuml;//产汽设备产汽量设置为重复水量
//		this.wasteWaterDischarge = 1.0;//企业达标标准排水量设置为废水排放总量
//		this.totalWasteWaterDischarge = this.drainWaterSuml;//企业排水量
//		this.indirCooNewWater = 1.0;//间接冷却水循环补充水量
//		this.indirCooWaterCircu = 2.0;//简介冷却水循环量
//		this.externalDisplacement = 1.0;//企业外排水量
//		this.wasteWaterReuse = 1.0;//废水回用量
//		this.wasteWaterProduced = 2.0;//废水外排水量
//		this.unconWaterUse = 1.0;//非常规水资源利用量
//	}


	public void showContent() {
//		System.out.println("unitProductWaterWithdrawal: " + unitProductWaterWithdrawal);
	}

	public Integer getCompany_id() {
		return company_id;
	}

	public void setCompany_id(Integer company_id) {
		this.company_id = company_id;
	}

	private Integer company_id;

	public LabelEvaCmpWaterTAndASum() {
		super();
		// TODO Auto-generated constructor stub
	}
		
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyClass() {
		return companyClass;
	}

	public void setCompanyClass(String companyClass) {
		this.companyClass = companyClass;
	}

	public String getTestPerson() {
		return testPerson;
	}

	public void setTestPerson(String testPerson) {
		this.testPerson = testPerson;
	}

	public String getEvaPerson() {
		return evaPerson;
	}

	public void setEvaPerson(String evaPerson) {
		this.evaPerson = evaPerson;
	}

	public String getTestUnit() {
		return testUnit;
	}

	public void setTestUnit(String testUnit) {
		this.testUnit = testUnit;
	}

	public double getUseWaterSuml() {
		return useWaterSuml;
	}

	public void setUseWaterSuml(double useWaterSuml) {
		this.useWaterSuml = useWaterSuml;
	}

	public double getNewWaterSuml() {
		return newWaterSuml;
	}

	public void setNewWaterSuml(double newWaterSuml) {
		this.newWaterSuml = newWaterSuml;
	}

	public double getRepeatWaterSuml() {
		return repeatWaterSuml;
	}

	public void setRepeatWaterSuml(double repeatWaterSuml) {
		this.repeatWaterSuml = repeatWaterSuml;
	}

	public double getDrainWaterSuml() {
		return drainWaterSuml;
	}

	public void setDrainWaterSuml(double drainWaterSuml) {
		this.drainWaterSuml = drainWaterSuml;
	}

	public double getConsumpWaterSuml() {
		return consumpWaterSuml;
	}

	public void setConsumpWaterSuml(double consumpWaterSuml) {
		this.consumpWaterSuml = consumpWaterSuml;
	}

	public double getLossWaterSuml() {
		return lossWaterSuml;
	}

	public void setLossWaterSuml(double lossWaterSuml) {
		this.lossWaterSuml = lossWaterSuml;
	}

	public double getUseWaterSumn() {
		return useWaterSumn;
	}

	public void setUseWaterSumn(double useWaterSumn) {
		this.useWaterSumn = useWaterSumn;
	}

	public double getNewWaterSumn() {
		return newWaterSumn;
	}

	public void setNewWaterSumn(double newWaterSumn) {
		this.newWaterSumn = newWaterSumn;
	}

	public double getWater1Sum() {
		return water1Sum;
	}

	public void setWater1Sum_string(String water1Sum) {
		if(water1Sum!=null){
			this.water1Sum = Double.parseDouble(water1Sum);
		}
		else this.water1Sum = 0.0;
	}
	public void setWater1Sum(double water1Sum) {
		this.water1Sum = water1Sum;
	}

	public double getProductOutput() {
		return productOutput;
	}

	public void setProductOutput(double productOutput) {
		this.productOutput = productOutput;
	}

	public double getUnitProductWaterWithdrawal() {
		return unitProductWaterWithdrawal;
	}

	public void setUnitProductWaterWithdrawal(double unitProductWaterWithdrawal) {
		this.unitProductWaterWithdrawal = unitProductWaterWithdrawal;
	}

	public String getDirCooWaterCircuRate() {
		return dirCooWaterCircuRate;
	}

	public void setDirCooWaterCircuRate(String dirCooWaterCircuRate) {
		this.dirCooWaterCircuRate = dirCooWaterCircuRate;
	}

	public double getDirCooWaterCircu() {
		return dirCooWaterCircu;
	}

	public void setDirCooWaterCircu(double dirCooWaterCircu) {
		this.dirCooWaterCircu = dirCooWaterCircu;
	}

	public double getDirCooWaterConsump() {
		return dirCooWaterConsump;
	}

	public void setDirCooWaterConsump(double dirCooWaterConsump) {
		this.dirCooWaterConsump = dirCooWaterConsump;
	}

	public String getSteamCondensateReuseRate() {
		return steamCondensateReuseRate;
	}

	public void setSteamCondensateReuseRate(String steamCondensateReuseRate) {
		this.steamCondensateReuseRate = steamCondensateReuseRate;
	}

	public double getSteamCondensateReturn() {
		return steamCondensateReturn;
	}

	public void setSteamCondensateReturn(double steamCondensateReturn) {
		this.steamCondensateReturn = steamCondensateReturn;
	}

	public double getSteamproduction() {
		return steamProduction;
	}

	public void setSteamproduction(double steamProduction) {
		this.steamProduction = steamProduction;
	}

	public double getSteamVolumeMass() {
		return steamVolumeMass;
	}

	public void setSteamVolumeMass(double steamVolumeMass) {
		this.steamVolumeMass = steamVolumeMass;
	}

	public String getLossRate() {
		return lossRate;
	}

	public void setLossRate(String lossRate) {
		this.lossRate = lossRate;
	}

	public String getWasteWaterDischargeRate() {
		return wasteWaterDischargeRate;
	}

	public void setWasteWaterDischargeRate(String wasteWaterDischargeRate) {
		this.wasteWaterDischargeRate = wasteWaterDischargeRate;
	}

	public double getWasteWaterDischarge() {
		return wasteWaterDischarge;
	}

	public void setWasteWaterDischarge(double wasteWaterDischarge) {
		this.wasteWaterDischarge = wasteWaterDischarge;
	}

	public double getTotalWasteWaterDischarge() {
		return totalWasteWaterDischarge;
	}

	public void setTotalWasteWaterDischarge(double totalWasteWaterDischarge) {
		this.totalWasteWaterDischarge = totalWasteWaterDischarge;
	}

	

	public double getSteamProduction() {
		return steamProduction;
	}

	public void setSteamProduction(double steamProduction) {
		this.steamProduction = steamProduction;
	}

	public String getRepeatUtilizationRate() {
		return repeatUtilizationRate;
	}

	public void setRepeatUtilizationRate(String repeatUtilizationRate) {
		this.repeatUtilizationRate = repeatUtilizationRate;
	}

	public String getIndirCooWaterCircuRate() {
		return indirCooWaterCircuRate;
	}

	public void setIndirCooWaterCircuRate(String indirCooWaterCircuRate) {
		this.indirCooWaterCircuRate = indirCooWaterCircuRate;
	}

	public double getIndirCooWaterCircu() {
		return indirCooWaterCircu;
	}

	public void setIndirCooWaterCircu(double indirCooWaterCircu) {
		this.indirCooWaterCircu = indirCooWaterCircu;
	}

	public double getIndirCooNewWater() {
		return indirCooNewWater;
	}

	public void setIndirCooNewWater(double indirCooNewWater) {
		this.indirCooNewWater = indirCooNewWater;
	}

	public String getDrainageRate() {
		return drainageRate;
	}

	public void setDrainageRate(String drainageRate) {
		this.drainageRate = drainageRate;
	}

	public double getExternalDisplacement() {
		return externalDisplacement;
	}

	public void setExternalDisplacement(double externalDisplacement) {
		this.externalDisplacement = externalDisplacement;
	}

	public String getWasteWaterReuseRate() {
		return wasteWaterReuseRate;
	}

	public void setWasteWaterReuseRate(String wasteWaterReuseRate) {
		this.wasteWaterReuseRate = wasteWaterReuseRate;
	}

	public double getWasteWaterReuse() {
		return wasteWaterReuse;
	}

	public void setWasteWaterReuse(double wasteWaterReuse) {
		this.wasteWaterReuse = wasteWaterReuse;
	}

	public double getWasteWaterProduced() {
		return wasteWaterProduced;
	}

	public void setWasteWaterProduced(double wasteWaterProduced) {
		this.wasteWaterProduced = wasteWaterProduced;
	}

	public String getUnconWaterReplaceRate() {
		return unconWaterReplaceRate;
	}

	public void setUnconWaterReplaceRate(String unconWaterReplaceRate) {
		this.unconWaterReplaceRate = unconWaterReplaceRate;
	}

	public double getUnconWaterUse() {
		return unconWaterUse;
	}

	public void setUnconWaterUse_string(String unconWaterUse) {
		if(unconWaterUse!=null){
			this.unconWaterUse = Double.parseDouble(unconWaterUse);
		}
		else{
			this.unconWaterUse = 0.0;
		}

	}
	public void setUnconWaterUse(double unconWaterUse) {
		this.unconWaterUse =unconWaterUse;

	}

	public double getGetWater() {
		return getWater;
	}

	public void setGetWater(double getWater) {
		this.getWater = getWater;
	}

	public double getUseWater() {
		return useWater;
	}

	public void setUseWater(double useWater) {
		this.useWater = useWater;
	}

	public String getSum1_data() {
		return sum1_data;
	}

	public void setSum1_data(String sum1_data) {
		this.sum1_data = sum1_data;
	}

	public String getSum2_data() {
		return sum2_data;
	}

	public void setSum2_data(String sum2_data) {
		this.sum2_data = sum2_data;
	}

	public String getSum3_data() {
		return sum3_data;
	}

	public void setSum3_data(String sum3_data) {
		this.sum3_data = sum3_data;
	}

	public String getSum4_data() {
		return sum4_data;
	}

	public void setSum4_data(String sum4_data) {
		this.sum4_data = sum4_data;
	}

	public String getSum5_data() {
		return sum5_data;
	}

	public void setSum5_data(String sum5_data) {
		this.sum5_data = sum5_data;
	}

	public String getSum6_data() {
		return sum6_data;
	}

	public void setSum6_data(String sum6_data) {
		this.sum6_data = sum6_data;
	}

	public String getSum7_data() {
		return sum7_data;
	}

	public void setSum7_data(String sum7_data) {
		this.sum7_data = sum7_data;
	}

	public String getSum8_data() {
		return sum8_data;
	}

	public void setSum8_data(String sum8_data) {
		this.sum8_data = sum8_data;
	}

	public String getSum9_data() {
		return sum9_data;
	}

	public void setSum9_data(String sum9_data) {
		this.sum9_data = sum9_data;
	}

	public String getSum10_data() {
		return sum10_data;
	}

	public void setSum10_data(String sum10_data) {
		this.sum10_data = sum10_data;
	}	
}
